<template>
  <el-card class="basicCard">
    <el-row type="flex" justify="space-between">
      <el-col :span="18">
        <div class="pathfinding">
          <el-row>
            <el-col class="left" :span="4">
              <span>  </span>
            </el-col>
            <el-col class="right" :span="19" :push="1">

              <el-row type="flex" justify="space-between">
                <p class="poems">世界以痛吻我,我要报之以歌</p>
                <el-col class="poems" :span="10" style="margin-top:40px;">------泰戈尔《飞鸟集》</el-col>
                <el-row type="flex" justify="end">
                  <p class="bgt">HI</p>
                </el-row>
              </el-row>

            </el-col>
          </el-row>
        </div>
      </el-col>

      <el-col :span="5">
      </el-col>
    </el-row>
  </el-card>
</template>

<script>
import { mapGetters } from 'vuex'
import axios from 'axios'
export default {
  name: 'Dashboard',
  data() {
    return {
    }
  },
  computed: {
    ...mapGetters(['name'])
  },
  async created() {

  }
}
</script>

<style lang="scss" >
.dashboard {
  color: #f3f3f3;

  .el-card__body {
    padding: 0;
    margin: 20px;

    .pathfinding {
      background: linear-gradient(to right, rgb(147, 183, 179), rgb(128, 134, 151));
      border-radius: 10px 10px 10px 10px;
      .left {
        height: 148px;

        border-radius: 0 70px 70px 10px;
        background-repeat: no-repeat;
        span{
          line-height: 140px;
          margin-left: 20px;
          height: 100px;
        }
      }
      .right {

        height: 148px;
      background-size:60% 100%;
      background-position:right;
        background-repeat: no-repeat;

        .poems{
          color: #fff;
          font-size: 20px;
        }

        .bgt {
          background-color: rgba(255, 255, 255, 0.56);
          font-size: 14px;
          width: 150px;
          height: 40px;
          line-height: 40px;
          border-radius: 5px;
          text-align: center;
          margin-right: 20px;
        }
      }
    }
.dealt{
  &.el-card{

    margin: 20px 0;

    .sheet{
      height:165px ;
      margin: 0 20px;
      padding-top: 10px;
      background-color: #fff4f4;
        border-radius: 10px;
      i{
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        font-size: 26px;
        color: rgb(234, 234, 234);
        background-color:rgb(255, 241, 224) ;
        border-radius: 10px;
        margin: 10px 5px 0 20px;
      }
      span{
        color: rgb(255, 165, 109);
        font-size: 28px;
      }
      div{
        margin: 55px 20px 5px;
        font-size: 12px;
        span{
          color: rgb(255, 192, 125);
          margin: 10px;
        }
      }
    }
      .sheet:hover{
      background-color: rgb(244, 244, 244);
      border:1px solid #fbf7f7;
      box-shadow: 0 2px 12px 0 rgba(0,0,0,.06);
      i{
        background-color:rgb(236, 243, 248) ;
        color: #fff;
      }
      }
  }
}
    h4 {
      color: #000;
      margin: 10px 0;
    }
    .el-divider--horizontal {
      height: 0.5px;
      margin: 10px 0px;
    }
  }
}
</style>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }

  .el-card {
    margin: 0 10px;
    border-radius: 10px;

    &.basicCard {
      background-color: transparent;
      width: 90%;
      margin: 0 auto;
      border: none;
      box-shadow: none;
    }

    .box-card {
      color: rgb(137, 137, 137);
      p {
        font-size: 13px;
        margin: 15px 0 10px;
      }
      span {
        font-size: 12px;
      }
    }
  }
}
</style>
